package com.parenting.request;

import com.parenting.response.UnclaimedListResponse;
import com.parenting.util.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UnclaimedListConditionRequest对象", description="认领列表查询条件")
public class UnclaimedListConditionRequest extends BaseRequest<UnclaimedListResponse> {

    @ApiModelProperty(value = "省"  ,required = true)
    @NotNull(message = "省份不能为空")
    private  String province;

    @ApiModelProperty(value = "市"  ,required = true)
    @NotNull(message = "市不能为空")
    private  String city;

    @ApiModelProperty(value = "区"  ,required = true)
    @NotNull(message = "区不能为空")
    private  String area;


    @ApiModelProperty(value = "详细地址"  ,required = true)
    @NotNull(message = "详细地址不能为空")
    private  String address;

    @ApiModelProperty(value = "店铺名称",required = true)
    @NotNull(message = "店铺名称不能为空")
    private  String shopName;
}
